<ion-view view-title="客户">
  <ion-nav-buttons side="left">
    <button class="button button-clear button-positive" ng-click="goBack()">
      所有客户
    </button>
  </ion-nav-buttons>
  <ion-nav-buttons side="right">
    <button class="button button-clear button-positive" ng-if="showEditButton()" ng-click="edit()">编辑</button>
  </ion-nav-buttons>
  <div class="bar bar-subheader no-padding no-border">
    <div class="button-bar bar-light head-bar">
      <a class="button" ng-class="{'gainsboro':currentTab===tab1}" ng-click="switch(tab1);">详细资料</a>
      <a class="button" ng-class="{'gainsboro':currentTab===tab2}" ng-click="switch(tab2);">客户跟进</a>
    </div>
  </div>
  <ion-content class="has-subheader">
    <div ng-include="currentTab"></div>
  </ion-content>
</ion-view>
